import { IRoleRespData } from './requireType/system';

export interface IUserInfo {
  userId: string;
  username: string;
  password?: string;
  nickname?: string;
  mobile?: string;
  email?: string;
  address?: string;
  street?: string;
  sex?: string;
  passStrength?: string;
  avatar?: string;
  deptId?: string;
  deptName?: string;
  birth?: string;
  status?: string;
  roleList?: IRoleRespData[];
  createBy?: string;
  updateBy?: string;
  delFlag?: number;
  createTime?: null;
  updateTime?: string;
}

export enum CurrentLoginTypeEnum {
  PHONE = 'phone',
  EMAIL = 'email',
  PASSWORD = 'password',
}

export interface IHeaderTabItem {
  name?: string;
  path: string;
  locale?: string;
  icon?: string | React.ReactNode;
}
